Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Optional protocols parameter in WebSocket constructor. #2

Merged
merged 2 commits into from
Jan 3, 2013
Merged

Optional protocols parameter in WebSocket constructor. #2

merged 2 commits into from
Jan 3, 2013

Conversation

vkunz
Copy link
Contributor

@vkunz vkunz commented Dec 14, 2012

Hi

According to http://www.w3.org/TR/websockets/#websocket the WebSocket
constructor has a second optional parameter to specify the protocols, the client
speaks.

This parameter populates the 'Sec-WebSocket-Protocol' header.

Thanks
Valentin

dchelimsky added a commit that referenced this pull request Jan 3, 2013
Optional protocols parameter in WebSocket constructor.
@dchelimsky dchelimsky merged commit 12c69a1 into dchelimsky:master Jan 3, 2013
@dchelimsky
Copy link
Owner

Hey - sorry this took so long to get to, but thanks for the PR. Cheers!

@vkunz
Copy link
Contributor Author

vkunz commented Jan 4, 2013

Hi,

thanks for merging.

Valentin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants